<!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Bootstrap demo</title>
  <!-- 引入CSS -->
  <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
  <div class="container mt-3">
    <h2>药丸形状徽章</h2>
    <span class="badge rounded-pill bg-default">默认</span>
    <span class="badge rounded-pill bg-primary">主要</span>
    <span class="badge rounded-pill bg-success">成功</span>
    <span class="badge rounded-pill bg-info">信息</span>
    <span class="badge rounded-pill bg-warning">警告</span>
    <span class="badge rounded-pill bg-danger">危险</span>
  </div>

  <!-- 引入JS -->
  <script src="bootstrap-5.2.3-dist/js/bootstrap.min.js"></script>
</body>

</html>